package cn.tedu.tea.mapper;

import cn.tedu.tea.domain.GoodsDetail;
import cn.tedu.tea.domain.vo.GoodsDetailListVO;
import cn.tedu.tea.domain.vo.GoodsDetailStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsDetailMapper {
    int insert(GoodsDetail goodsDetail);
    int deleteById(Integer id);
    int deleteByIds(Integer[] ids);
    int update(GoodsDetail goodsDetail);

    GoodsDetailStandardVO getStandardById(Integer id);
    List<GoodsDetailListVO> list();

}
